<div class="header" id="header_div">
	
	<table class="header">
	<tr>
		<td>
			<!-- here you can place some logo -->
			<a href="{header_title_link}" class="header">{header_title}</a>
		</td>
		<td align="right">
			<div class="login">
			
				<tmpl:logged>
				{logged_msg}: <a href="{username_link}" class="login">{username}</a> {delim} 
				<a href="{logout_link}" class="login">{logout_msg}</a>
				</tmpl:logged>
			
				<tmpl:register_link>
				<a href="{register_link}" class="login">{register_msg}</a> |
				</tmpl:register_link>	
				
				<tmpl:login_link>
				<a href="{login_link}" class="login">{login_msg}</a>
				</tmpl:login_link>
				
			</div>
		</td>
	</tr>
	</table>
</div>

<div class="content" id="content_div">

<tmpl:form>

	<table>
	<tr valign="bottom">
		<td width="25%" class="nowrap">
			
			<div style="padding-bottom: 5px;" class="nowrap smallerText">
				<b>{search_msg}:</b>&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="{advanced_search_link}">{advanced_search_msg}</a>
			</div>
			<form action="{form_search_action}" style="margin:0px;">
				{hidden_search}
				<input type="hidden" name="s" id="s" value="1">
				<input type="text" name="q" id="q" value="{q}" class="colorInput" style="width: 150px" />
				<input type="submit" name="sb" id="sb" value="{search_button_msg}" />
			</form>
		
		</td>
		
		<td width="25%" class="nowrap">
		
			<div style="padding-bottom: 5px;" class="nowrap smallerText">
				<b>{browse_msg}:</b>
			</div>
			<form action="{form_category_action}" style="margin:0px;">
				{hidden_category}
				<select name="CategoryID" class="colorInput" style="width: 150px" onchange="this.form.submit(true);">
				{category_select}
				</select>
				<input type="submit" name="browse" id="browse" value="{browse_button_msg}" />
			</form>
			
		</td>
		
		<td class="nowrap" align="right">
		
			<tmpl:file>
			<a href="{file_link}">{file_title_msg}</a> |
			</tmpl:file>		
			
			<tmpl:glossary>
			<a href="{glossary_link}">{glossary_msg}</a> {glossary_delim}
			</tmpl:glossary>
			
			<tmpl:contact>
			<a href="{contact_link}">{contact_us_msg}</a>
			</tmpl:contact>
			
		</td>
	</tr>
	</table>
	<div style="padding-top: 5px;"></div>

</tmpl:form>

<hr size="1" class="default" noshade="noshade" />
<div align="left" class="navigation" style="margin-bottom: 20px;">
	{navigation}
</div>

{msg}